<template>
    <a-layout id="components-layout-demo-top-side-2">
     <the-header></the-header>
      <a-layout>
        <the-sider-view></the-sider-view>
        <a-layout style="padding: 0 24px 24px">
          <a-layout-content
              :style="{ background: '#fff', padding: '24px', margin: 0, minHeight: '280px' }"
          >
           <router-view></router-view>

          </a-layout-content>
        </a-layout>
      </a-layout>
    </a-layout>


</template>

<script>
import { defineComponent, ref } from 'vue';
import TheHeader from "@/components/the-header";
import TheSiderView from "@/components/the-sider";
export default defineComponent({
  name: "main-view",
  components: {
    TheSiderView,
    TheHeader,
  },
  setup() {


    return {
      collapsed: ref(false),
      openKeys: ref(['sub1']),
    };
  },
});
</script>


<style>

</style>